<template>
  <div class="student">
    <h1>学生名称：{{ name }}</h1>
    <h1>学生年龄：{{ age }}</h1>
    <button >点我淡出name</button>
  </div>
</template>
<script>

export default {
  name: "School",
  data(){
    return{
      name:"陶品奇",
      age:22
    }
  },


};
</script>

<style scoped lang="less">
.student {
  background-color: #ccc;
}
</style>
